module.exports = {
    title: '学习教程',
    description: '关于自己学习的一些记录',
    base: '/',
    markdown: {
        lineNumbers: true // 代码块是否显示行号
    },
    themeConfig: {
        nav: [
            // { text: 'vue脚手架', link: '/web_dev/vuecli/'},
            { text: '前端组件', link: '/web_dev/vueComponent/'},
            { text: '跨域和服务', link: '/web_dev/cross_domain/nginx'},
            { text: '后台服务', link: '/admin_service/'},
            { text: 'thinkphp', link: '/thinkphp/'},
            { text: 'node搭建http服务', link: '/node_express/'},
            {
              text: 'vuePress',
              link: '/vue_press/',
              items: [
                { text: 'API', link: '/vue_press/vuepressInstall/'},
                  { text: 'API', link: '/vue_press/vuepressApi/'},
                  { text: 'MD文件', link: '/vue_press/vuepressMd/'}
                ]
            },
             { text: 'External', link: 'https://google.com' },
        ],
        sidebarDepth: 2,
        sidebar:
             {
                "/web_dev":[
                    {
                        title: '环境工具',
                        sidebarDepth: 3,
                        collapsable: true,//是否折叠
                        children: [               
                            '../web_dev/tools/',
                            '../web_dev/tools/git.md'
                        ]
                    },
                    // {
                    //     title: '前端开发',
                    //     sidebarDepth: 2,
                    //     collapsable: false,
                    //     children: [
                    //         '../web_dev/vue/'
                    //     ]
                    // },
                    // {
                    //     title: '组件开发',
                    //     sidebarDepth: 2,
                    //     collapsable: false,
                    //     children: [
                    //         '../web_dev/vux/'
                    //     ]
                    // },
                    {
                        title: 'vue脚手架',
                        sidebarDepth: 3,
                        collapsable: false,
                        children: [
                            '../web_dev/vuecli/',
                            '../web_dev/vuecli/router.md',
                            '../web_dev/vuecli/vuex.md',
                            '../web_dev/vuecli/vue_config.md',
                            '../web_dev/vuecli/element_admin.md',
                            '../web_dev/vue-admin/'
                        ]
                    },
                    {
                        title: 'web前端组件',
                        sidebarDepth: 2,
                        collapsable: false,
                        children: [
                            '../web_dev/vueComponent/',
                            '../web_dev/vueComponent/element.md',
                            '../web_dev/shop-xiaomi/',
                            '../web_dev/uni-app/',
                        ]
                    },
                    {
                        title: '跨域和服务',
                        sidebarDepth: 3,
                        collapsable: false,
                        children: [
                            '../web_dev/cross_domain/nginx.md',
                            '../web_dev/cross_domain/environment.md',
                            '../web_dev/cross_domain/BT.md'
                        ]
                    }
                    
                ],
                '/vue_press':[
                    {
                        title: '安装',
                        sidebarDepth: 3,
                        collapsable: true,
                        children: [
                            '../vue_press/vuepressInstall/',
                            '../vue_press/vuepressInstall/nav.md',
                            '../vue_press/vuepressInstall/sidebar.md',
                            '../vue_press/vuepressInstall/git_clone.md'
                        ]
                    },
                    {
                        title: 'API',
                        sidebarDepth: 3,
                        collapsable: true,
                        children: [                            
                            '../vue_press/vuepressApi/'
                        ]
                    },
                    {
                        title: 'md文件',
                        sidebarDepth: 3,
                        collapsable: true,
                        children: [
                            '../vue_press/vuepressMd/',
                            '../vue_press/vuepressMd/ceshi.md'
                        ]
                    }
                ],
                '/admin_service':[
                    {
                        title: 'mysql数据库',
                        sidebarDepth: 3,
                        collapsable: true,
                        children: [
                            '../admin_service/mysql/mysql.md',
                        ]
                    },
                    
                ],
                '/thinkphp':[
                    {
                        title: 'php学习笔记',
                        sidebarDepth: 3,
                        collapsable: false,//是否折叠
                        children: [               
                            '../thinkphp/tp6/',
                        ]
                    },
                    
                ],
            
                '/node_express': "auto",
                // '/thinkphp': "auto"

             },
    }
}
